package com.ruoyi.project.cyq.client.client.service;

import com.ruoyi.project.cyq.client.client.domain.Client;
import com.ruoyi.project.cyq.client.client.mapper.ClientMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.math.BigInteger;

/**
 * @author Strawberry
 * @date 2020-09-19 上午 10:42
 * @desc 快乐将永远依着草莓
 * @desc 客户模块service接口的实现类
 */
@Service
public class ClientServiceImpl implements IClientService {

    @Autowired
    private ClientMapper clientMapper;


    /**
     * 通过Id查询客户
     * */
    @Override
    public Client selectOneById(BigInteger clientId) {
        return clientMapper.selectOneById(clientId);
    }
}
